//
//  ECPrompt_Validate.m
//  Edu_iOS
//
//  Created by yanyan on 2017/9/9.
//  Copyright © 2017年 yanyan. All rights reserved.
//

#import "ECPrompt_Validate.h"
#import "CYDataHelper.h"
@implementation ECPrompt_Validate
+ (nullable NSString *)stringForUserName:(NSString *)text{
    
    NSString *tip;
    if ([CYDataHelper isNull:text]) {
        tip = @"请输入登录名";
    }
    //过滤空格
//[text stringByReplacingOccurrencesOfString: @" " withString: @""];
    // 下面进行规则判断
    return tip;
}
+ (NSString *)stringForPassword:(NSString *)text
{
    NSString *tip;
    if ([CYDataHelper isNull:text]) {
        tip = @"请输入密码";
    }
    // 下面进行规则判断
    return tip;
}
@end
